﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nature.Toolkit.GMix
{
    public class MixImplicitFractionValueOutOfRangeException : Exception
    {
        public MixImplicitFractionValueOutOfRangeException(IComponent component, ILhs lhs, MixProjection context, double value) : base() 
        {
            this.Component = component;
            this.Lhs = lhs;
            this.Context = context;
            this.Value = value;
        }

        public IComponent Component { get; private set; }

        public ILhs Lhs { get; private set; }

        public MixProjection Context { get; private set; }

        public double Value { get; private set; }
    }
}
